package com.ctshk.rpc.order.tour.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 系列团退款明细
 * </p>
 *
 * @author 谭响
 * @since 2021-01-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_series_order_tourist_refund_detail")
@ApiModel(value="SeriesOrderTouristRefundDetail对象", description="系列团退款明细")
public class SeriesOrderTouristRefundDetail extends BaseEntity {

    @ApiModelProperty(value = "退款ID")
    private Long refundId;

    @ApiModelProperty(value = "应收金额")
    private BigDecimal totalReceivables;

    @ApiModelProperty(value = "实收金额")
    private BigDecimal paidInAmount;

    @ApiModelProperty(value = "货币退款金额")
    private BigDecimal currencyRefundAmount;

    @ApiModelProperty(value = "货币类型")
    private String currencyType;

    @ApiModelProperty(value = "货币类型主数据ID")
    private Long currencyTypeId;

    @ApiModelProperty(value = "兑换率")
    private BigDecimal exchangeRate;

    @ApiModelProperty(value = "退款类型主数据ID")
    private Long refundDetailTypeId;

    @ApiModelProperty(value = "退款类型")
    private String refundDetailType;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "退款方式主数据ID")
    private Long refundTypeId;

    @ApiModelProperty(value = "退款方式")
    private String refundType;

    @ApiModelProperty(value = "退款方")
    private String refundAccount;

    @ApiModelProperty(value = "退款原因主数据ID")
    private Long refundReasonId;

    @ApiModelProperty(value = "退款原因")
    private String refundReason;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "审批状态")
    private Integer refundStatus;

    @ApiModelProperty(value = "实际退款金额")
    private BigDecimal actualRefundAmount;

    @ApiModelProperty(value = "退款单号")
    private String refundNumber;

}
